package io.xccit.mapper.impl;

import io.xccit.mapper.IUserMapper;
import io.xccit.pojo.User;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Xccit
 * @Date 2023-01-23
 * @Description
 */
@Repository
public class UserMapperImpl implements IUserMapper {
    @Override
    public List<User> findAll() {
        List<User> users = new ArrayList<>();
        users.add(new User(1,"root","123456"));
        users.add(new User(2,"admin","123456"));
        users.add(new User(3,"toor","123456"));
        return users;
    }
}
